body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #000000; /* 文字颜色为黑色 */
    background-color: rgba(0, 0, 0, 0);
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    #right>div div:first-child {
        display: none;
    }
    #right>div div:nth-child(2) {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    #right {
        display: none;
    }
    #nav {
        background-color: rgba(0, 0, 0, 0);
    }
}
.row{
   
    align-items: center;
}
#logo {
    font-size: 1.3rem;
    color:#1d84ff;
    font-weight: bold;
}



#logo:hover {
    transform: translateY(-0.2rem);
}

.nav a {
    color: #000000; /* 文字颜色为黑色 */
    font-size: 1.1rem;
    font-weight: bold;
}

.nav a:hover, #right>div div:last-child a:hover {
    transform: translateY(-0.2rem);
    color: #a0c51f;
}

#search {
    background-color: #a0c51f;
    border-radius: 0.3rem;
    font-size: 1rem;
    user-select:none;
    
}
#search:active{
    background-color: #1d84ff;
     
}


#login{
    margin-right: 2rem;
    display: flex;  
    justify-content: flex-end;  
    font-size: 1.2rem;
    
}
.titleImg{
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
}

#logout:hover{
    color: #a0c51f;
    
}


